package com.commerce.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.commerce.pojo.dto.CommodityDTO;
import com.commerce.pojo.po.Commodity;

import java.util.List;

public interface CommodityService extends IService<Commodity> {

    public List selectList(String CommodityName);

    public CommodityDTO getOneById(Integer id,Integer UserId);

    List<Commodity> getByUser(Integer userId);

}
